// 表格样式

.bootstrap-table {
    .table {
        thead {
            background-color: $table-thead-bg-color;
        }

        >thead>tr>th {
            border-color: $table-border-color;
        }

        >thead>tr>td,
        >tbody>tr>td,
        >tfoot>tr>td {
            border-color: $table-border-color;
        }

        &.table-striped {
            >tbody {
                >tr:nth-of-type(odd) {
                    background-color: $table-striped-odd-bg;
                }

                >tr:nth-of-type(even) {
                    background-color: $table-striped-odd-even;
                }
            }
        }

        &.table-bordered {

            >thead>tr>th,
            >thead>tr>td,
            >tbody>tr>td,
            >tfoot>tr>td {
                border-color: $table-border-color;
            }
        }

        >tbody>tr:hover {
            background-color: $table-tr-hover-bg !important;
        }
    }


    .fixed-table-container {
        .table tbody tr.selected td {
            color: $table-select-color;
            background-color: $table-tr-selected-bg;
        }
    }

    
}

// 表格列浮动样式
.fixed-columns,
.fixed-columns-right {
    background-color: $table-fix-columns-bg;
    border-color: $table-border-color;
}

.reorder_rows_onDragClass td {
    color: $table-drag-rows-color !important;
    background-color: $table-drag-rows-bg !important;
}

.dragtable-sortable li {
    background: $table-drag-colunm-bg;
}


.ui-sortable-placeholder {
    -moz-box-shadow: 4px 5px 4px $table-drag-colunm-shadow-color inset;
    -webkit-box-shadow: 4px 5px 4px $table-drag-colunm-shadow-color inset;
    box-shadow: 4px 5px 4px $table-drag-colunm-shadow-color inset;
    visibility: visible !important;
}

.table.table-head {
    thead {
        background-color: $table-thead-bg-color;
    }
}

table {
    &.table-info-view {
        border-left: 1px solid $table-border-color;
        border-right: 1px solid $table-border-color;
        tr {
            th {
                background-color: $table-thead-bg-color;
            }

            &:first-child{
                th,td{
                    border-top: 1px solid $table-border-color;
                }
            }
        }
    }
}